<?php /* Smarty version Smarty-3.0.7, created on 2014-08-13 23:31:37
         compiled from "E:\project\xampp\htdocs\farmdepot/modules/pm_advancedtopmenu/pm_advancedtopmenu.tpl" */ ?>
<?php /*%%SmartyHeaderCode:476053eb92e977ea26-03896779%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f82b7cbdadfe656445e1e3150e111a8bc7c2a8d4' => 
    array (
      0 => 'E:\\project\\xampp\\htdocs\\farmdepot/modules/pm_advancedtopmenu/pm_advancedtopmenu.tpl',
      1 => 1392269752,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '476053eb92e977ea26-03896779',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!-- MODULE PM_AdvancedTopMenu -->
</div>
<div class="clear"></div>
<div id="adtm_menu">
<div id="adtm_menu_inner">
<ul id="menu">
<?php  $_smarty_tpl->tpl_vars['menu'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('advtm_menus')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['menu']->key => $_smarty_tpl->tpl_vars['menu']->value){
?>
<?php if (($_smarty_tpl->tpl_vars['menu']->value['privacy']==2&&$_smarty_tpl->getVariable('isLogged')->value)||($_smarty_tpl->tpl_vars['menu']->value['privacy']==1&&!$_smarty_tpl->getVariable('isLogged')->value)||(!$_smarty_tpl->tpl_vars['menu']->value['privacy'])){?>
<?php $_smarty_tpl->tpl_vars['menuHaveSub'] = new Smarty_variable(count($_smarty_tpl->getVariable('advtm_columns_wrap')->value[$_smarty_tpl->tpl_vars['menu']->value['id_menu']]), null, null);?>
<li class="li-niveau1 advtm_menu_<?php echo intval($_smarty_tpl->tpl_vars['menu']->value['id_menu']);?>
 <?php if ($_smarty_tpl->getVariable('menuHaveSub')->value){?> sub<?php }?>"><?php echo $_smarty_tpl->getVariable('advtm_obj')->value->getLinkOutputValue($_smarty_tpl->tpl_vars['menu']->value,'menu',true,$_smarty_tpl->getVariable('menuHaveSub')->value,true);?>
<?php if ($_smarty_tpl->getVariable('menuHaveSub')->value){?><!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
	<div class="adtm_sub">
		<?php if (trim($_smarty_tpl->getVariable('advtm_obj')->value->realStripTags4Smarty($_smarty_tpl->tpl_vars['menu']->value['value_over'],'<object><img>'))){?>
			<?php echo $_smarty_tpl->tpl_vars['menu']->value['value_over'];?>

		<?php }?>
		<table class="columnWrapTable"><tr>
		<?php  $_smarty_tpl->tpl_vars['column_wrap'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('advtm_columns_wrap')->value[$_smarty_tpl->tpl_vars['menu']->value['id_menu']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['column_wrap']->key => $_smarty_tpl->tpl_vars['column_wrap']->value){
?>
			<?php if (($_smarty_tpl->tpl_vars['column_wrap']->value['privacy']==2&&$_smarty_tpl->getVariable('isLogged')->value)||($_smarty_tpl->tpl_vars['column_wrap']->value['privacy']==1&&!$_smarty_tpl->getVariable('isLogged')->value)||(!$_smarty_tpl->tpl_vars['column_wrap']->value['privacy'])){?>
				<td class="adtm_column_wrap_td advtm_column_wrap_td_<?php echo intval($_smarty_tpl->tpl_vars['column_wrap']->value['id_wrap']);?>
">
				<div class="adtm_column_wrap advtm_column_wrap_<?php echo intval($_smarty_tpl->tpl_vars['column_wrap']->value['id_wrap']);?>
">
				<?php if (trim($_smarty_tpl->getVariable('advtm_obj')->value->realStripTags4Smarty($_smarty_tpl->tpl_vars['column_wrap']->value['value_over'],'<object><img>'))){?>
					<?php echo $_smarty_tpl->tpl_vars['column_wrap']->value['value_over'];?>

				<?php }?>
				<div class="adtm_column_wrap_sizer">&nbsp;</div>
				<?php  $_smarty_tpl->tpl_vars['column'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('advtm_columns')->value[$_smarty_tpl->tpl_vars['column_wrap']->value['id_wrap']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['column']->key => $_smarty_tpl->tpl_vars['column']->value){
?>
					<?php if (($_smarty_tpl->tpl_vars['column']->value['privacy']==2&&$_smarty_tpl->getVariable('isLogged')->value)||($_smarty_tpl->tpl_vars['column']->value['privacy']==1&&!$_smarty_tpl->getVariable('isLogged')->value)||(!$_smarty_tpl->tpl_vars['column']->value['privacy'])){?>
						<?php $_smarty_tpl->tpl_vars['menuColumnWrapValue'] = new Smarty_variable($_smarty_tpl->getVariable('advtm_obj')->value->getLinkOutputValue($_smarty_tpl->tpl_vars['column']->value,'column',true), null, null);?>
						<?php if (trim($_smarty_tpl->getVariable('advtm_obj')->value->realStripTags4Smarty($_smarty_tpl->tpl_vars['column']->value['value_over'],'<object><img>'))){?>
							<?php echo $_smarty_tpl->tpl_vars['column']->value['value_over'];?>

						<?php }?>
						<div class="adtm_column adtm_column_<?php echo intval($_smarty_tpl->tpl_vars['column']->value['id_column']);?>
">
						<?php if ($_smarty_tpl->getVariable('menuColumnWrapValue')->value){?><h5><?php echo $_smarty_tpl->getVariable('menuColumnWrapValue')->value;?>
</h5><?php }?>
						<?php $_smarty_tpl->tpl_vars['columnHaveElement'] = new Smarty_variable(count($_smarty_tpl->getVariable('advtm_elements')->value[$_smarty_tpl->tpl_vars['column']->value['id_column']]), null, null);?>
						<?php if ($_smarty_tpl->getVariable('columnHaveElement')->value){?>
							<ul class="adtm_elements adtm_elements_<?php echo intval($_smarty_tpl->tpl_vars['column']->value['id_column']);?>
">
							<?php  $_smarty_tpl->tpl_vars['element'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('advtm_elements')->value[$_smarty_tpl->tpl_vars['column']->value['id_column']]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value){
?>
								<?php if (($_smarty_tpl->tpl_vars['element']->value['privacy']==2&&$_smarty_tpl->getVariable('isLogged')->value)||($_smarty_tpl->tpl_vars['element']->value['privacy']==1&&!$_smarty_tpl->getVariable('isLogged')->value)||(!$_smarty_tpl->tpl_vars['element']->value['privacy'])){?>
									<li><?php echo $_smarty_tpl->getVariable('advtm_obj')->value->getLinkOutputValue($_smarty_tpl->tpl_vars['element']->value,'element',true);?>
</li>
								<?php }?>
							<?php }} ?>
							</ul>
						<?php }?>
						</div>
						<?php if (trim($_smarty_tpl->getVariable('advtm_obj')->value->realStripTags4Smarty($_smarty_tpl->tpl_vars['column']->value['value_under'],'<object><img>'))){?>
							<?php echo $_smarty_tpl->tpl_vars['column']->value['value_under'];?>

						<?php }?>
					<?php }?>

				<?php }} ?>
				<?php if (trim($_smarty_tpl->getVariable('advtm_obj')->value->realStripTags4Smarty($_smarty_tpl->tpl_vars['column_wrap']->value['value_under'],'<object><img>'))){?>
					<?php echo $_smarty_tpl->tpl_vars['column_wrap']->value['value_under'];?>

				<?php }?>
				</div>
				</td>
			<?php }?>
		<?php }} ?>
		</tr></table>
		<?php if (trim($_smarty_tpl->getVariable('advtm_obj')->value->realStripTags4Smarty($_smarty_tpl->tpl_vars['menu']->value['value_under'],'<object><img>'))){?>
			<?php echo $_smarty_tpl->tpl_vars['menu']->value['value_under'];?>

		<?php }?>
	</div>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
<?php }?></li>
<?php }?>
<?php }} ?>
</ul>
<div class="clear"></div>
</div>
</div>
<!-- /MODULE PM_AdvancedTopMenu -->
<div class="last-header">